counting total number of possible relations on a set

join shbcf.ru